package com.schoolegard.services;

import java.util.List;

import com.schoolgard.entitybean.GridDataModel;
import com.schoolgard.entitybean.MsgReceiver;
import com.schoolgard.entitybean.SchoolData;

public interface SchoolDataService {

	GridDataModel<SchoolData> find4Page(SchoolData schoolData, int first, int max);

	void addReceiver(MsgReceiver msgReceiver);

	void deleteReceiver(Long id);

	GridDataModel<MsgReceiver> findReceiverBySchoolId(Long id, int first, int max);
	

	List<MsgReceiver> findReceiverListBySchoolId(Long id);

	MsgReceiver findById(Long id);

	boolean updateStatus(Long valueOf, Integer status);

	int findSysReceiverEnable(Long valueOf);
	
	String addSchoolData(SchoolData schoolData);
	
	String updateSchoolData(SchoolData schoolData);
	
	String deleteSchoolData(Long schoolId);
	
	void updateSchool();
	
	void findRemoteDate(Long id);
	
}
